package com.mdd.front.validate.zdjd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 代理商参数
 * @author LikeAdmin
 */
@Data
@ApiModel("代理商更新参数")
public class TZdjdAgentUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Long id;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "")
    private String name;

    @NotNull(message = "phone参数缺失")
    @ApiModelProperty(value = "")
    private String phone;

    @NotNull(message = "idCard参数缺失")
    @ApiModelProperty(value = "")
    private String idCard;

    @NotNull(message = "deviceTotalAmount参数缺失")
    @ApiModelProperty(value = "累计安装激活设备数")
    private Integer deviceTotalAmount;

    @NotNull(message = "echargeTotalAmount参数缺失")
    @ApiModelProperty(value = "累计充值数")
    private Long echargeTotalAmount;

    @NotNull(message = "promotionTotalAmount参数缺失")
    @ApiModelProperty(value = "累计推广人数")
    private Integer promotionTotalAmount;

    @NotNull(message = "agentKey参数缺失")
    @ApiModelProperty(value = "代理商唯一标识")
    private String agentKey;

}
